<% content_for :css do %>
  <%= stylesheet_link_tag 'index','furniture_logistic_stats_index' %>
<% end %>
<% content_for :title do %>-库存查询<% end %>
<div class='top'>
  <div class='title'>
    <b>库存管理</b><span>库存查询</span>
  </div>
</div>
<div class="search">
  <%= form_tag furniture_logistic_stats_url,
        :method => :get do %> 
    <%= autocomplete_field_tag :key_words,params[:key_words], autocomplete_furniture_style_code_furniture_styles_url, :id_element => '#furniture_style_id', :onfocus => 'select()',:class => :search %>
    <%= hidden_field_tag 'furniture_style_id',params[:furniture_style_id] %>
    <%= submit_tag '库存查询', :class => :bb %>    
  <% end %>
</div>
<div class="page">
  <div class="total_currnet"><p>共</p><b><%= @furniture_logistic_stats.size %></b><p>条记录</p></div>
</div>
<div class="index">
<% @furniture_logistic_stats.each do |furniture_logistic_stat|  %>  
  <div id='furniture_logistic_stat_<%= furniture_logistic_stat.id %>' class="monomer">
    <%= render :partial => 'furniture_logistic_stat_in_index.html', :locals => { :furniture_logistic_stat => furniture_logistic_stat } %>
  </div>
<% end %>  
</div>
<div class="page">
  <div class="total_currnet"><p>共</p><b><%= @furniture_logistic_stats.size %></b><p>条记录</p></div>
</div>
        